

class Student {
    String name;
    int age;
    String gender;
    private static String classRoom="计算机一班";

    public static String getClassRoom() {
        return classRoom;
    }
}

public class Test {
    public static void main(String[] args) {
        Student student1 = new Student();
        Student student2 = new Student();
        Student student3 = new Student();

        System.out.println(student1.getClassRoom());
        System.out.println(student2.getClassRoom());
        System.out.println(student3.getClassRoom());

        System.out.println(Student.getClassRoom());
    }
}
